package com.baidu.bulls.stock.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;



/**
 * <p>
 * 机构表
 * </p>
 *
 * @author 蔡志豪
 * @since 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_institution")
public class Institution implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 机构id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 机构类型id
     */
    @TableField("institutionTypeId")
    private String institutiontypeid;

    /**
     * 机构关联id 即公司id
     */
    @TableField("detailInstitutionId")
    private Long detailinstitutionid;

    /**
     * 机构关联名称 公司名称
     */
    @TableField("detailInstitutionName")
    private String detailinstitutionname;


}
